package com.loong.member.mapper;

import com.loong.common.mybatis.mapper.Mapper;
import com.loong.member.model.MemberAddress;
import org.apache.ibatis.annotations.Param;

public interface MemberAddressMapper extends Mapper<MemberAddress> {

    /**
     * 根据用户id设置用户所有收货地址不是默认
     * @param userId 用户id
     */
    void updateAllAddressNotDefaultByUserId(@Param("userId") Long userId);
}